#ifndef __SIPSRVINVITETRANS_HPP__
#define __SIPSRVINVITETRANS_HPP__

#include "WTResipDll/SipWTResipDllItf.hpp"
#include "WTResipDll/SipSrvTransaction.hpp"
#include "WTResipDll/SipWtsipUtils.hpp"

namespace wtsip{


class RESIP_PUBLIC CSipSrvInviteTrans: public CSipSrvTransaction
{
public:

    CSipSrvInviteTrans(CSipMessage& request, CSipUserAgent& ua);

    virtual ~CSipSrvInviteTrans();

    virtual bool send(CapSipMessage msg);

    virtual bool processIncoming(CapSipMessage msg);

    virtual CapSipMessage createResponse(CSipMessage& msg, const ESipCodeType code, const std::string& reason);

private:

    //CapSipMessage m_cancel;

    bool m_canceling;
};



}// namesapce
#endif

